﻿/***************************************************************************
    Copyright (c) Microsoft Corporation. All rights reserved.
    This code is licensed under the Visual Studio 
    Visualization and Modeling SDK license terms.

    THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
    ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
    IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
    PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
***************************************************************************/
namespace Microsoft.VisualStudio.ArchitectureTools.CodeRepositoryQuery
{
    /// <summary>
    /// Expresses the visibility of the types and members
    /// </summary>
    public enum AccessType : short
    {
        /// <summary>
        /// Visible only to the compiler
        /// </summary>
        Compiler = 0,

        /// <summary>
        /// Private in C#
        /// </summary>
        Private = 1,

        /// <summary>
        /// Protected and internal (does not exist in C#)
        /// </summary>
        FamilyAndAssembly = 2,

        /// <summary>
        /// Limited to the assembly (does not exist in C#)
        /// </summary>
        Assembly =3,

        /// <summary>
        /// Protected in C#
        /// </summary>
        Family = 4,

        /// <summary>
        /// Protected internal in C#
        /// </summary>
        FamilyOrAssembly = 5,

        /// <summary>
        /// Public in C#
        /// </summary>
        Public = 6
    }
}
